export const SET_ACTIVE_COMPONENT = (state, component) => {
  	
  	console.log(component)
  	// console.log(state.parameter.bar)
  	// component = state.parameter.bar;
  	// state.activeComponents = component;
  	component = state.parameter.bar;
  	state.activeComponents = component;
  	// console.log(state.activeComponents);
  	// console.log(state.parameter.bar == component);
  	// console.log(component);
  	// console.log(state.parameter.bar);
}

export const ADD_COMPONENT = (state, component) => {
  	state.components.push({ component: component });
  	// console.log(state.components);
}

// export const CHANGE_COMPONENT_ARGS = (state) =>{
// 	state.activeComponents = state.parameter.bar
// }
